package java44th.group.mapper;

import java.util.List;
import java44th.group.bean.po.MarketAddress;
import java44th.group.bean.po.MarketAddressExample;
import org.apache.ibatis.annotations.Param;

public interface MarketAddressMapper {
    long countByExample(MarketAddressExample example);

    int deleteByExample(MarketAddressExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketAddress row);

    int insertSelective(MarketAddress row);

    List<MarketAddress> selectByExample(MarketAddressExample example);

    MarketAddress selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketAddress row, @Param("example") MarketAddressExample example);

    int updateByExample(@Param("row") MarketAddress row, @Param("example") MarketAddressExample example);

    int updateByPrimaryKeySelective(MarketAddress row);

    int updateByPrimaryKey(MarketAddress row);

    MarketAddress selectIsDefault();

    List<MarketAddress> selectAddressByUserId(@Param("marketaddress") MarketAddress marketAddress1);

}